<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Dotnet2-web 后台管理系统</title>
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
<%@ include file="/jsp/common/commonJs.jsp"%>
</head>
<body>
<!--header-->
<%@ include file="/jsp/top.jsp"%>
<!--header-->

<!--aside nav-->
<%@ include file="/jsp/left.jsp"%>
<!--aside nav  -->
<section class="rt_wrap content mCustomScrollbar" style="margin-top:10px;">
      <div class="page_title">
       <a class="fr top_rt_btn">右侧按钮</a>
      </div>
      <table class="table">
       <tr>
       		<th><input type="checkbox"></th>
	        <th>订单编号</th>
	        <th>产品名称</th>
	        <th>产品类型</th>
	        <th>产品价格</th>
	        <th>产品审核状态</th>
	        <th>付费类型</th>
	        <th>产品购买期限</th>
	        <th>创建时间</th>
	        <th>审核时间</th>
       </tr>
       	<c:forEach items="${detailList}" var="product">
      		<tr align="center">
		        <td>${product.id}</td>
		        <td>${product.orderNo}</td>
		        <td>${product.productName}</td>
		        <td>${product.productType==1?"基本产品":product.productType==2?"高级产品":"定制产品"}</td>
		        <td>${product.productPrice}￥</td>
		        <td>${product.productStatus==0?"<font color=orange>待审核</font>":product.productStatus==1?"<font color=green>通过</font>":"<font color=red>未通过</font>"}</td>
		        <td>${product.paymentType==1?"月付":product.paymentType==2?"季付":product.paymentType==3?"年付":"半年付"}</td>
		        <td>${product.productTime}期</td>
		        <td><fmt:formatDate value="${product.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		        <td><fmt:formatDate value="${product.checkTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		    </tr>
      	</c:forEach>
      </table>
	<%--  <aside class="paging">
		  <c:forEach items="${page.pageView}" var="page">
		  		${page}
		  </c:forEach>
	 </aside> --%>
</section>

</body>
</html>
